import request from '../utils/request'
export const getCity = () => {
  return request.get('/area/city', {
    level: 1
  })
}
export const getList2 = (value) => {
  return request.get('/houses/condition', {
    id: value
  })
}
export const getHouse = (data) => {
  return request.get('/houses', data)
}
export const areaMap = (id) => {
  return request.get('/area/map', { id })
}